﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DSZI
{
    class CityList
    {
        private string[] cities;
        private int totalvalue;

        public CityList()
        {
            cities = new string[7];
            totalvalue = 0;
        }

        public string[] getList()
        {
            return cities;
        }

        public void setList(string[] list)
        {
            cities = list;
        }

        public int getValue()
        {
            return totalvalue;
        }

        public void AddToCurrentValue(int value)
        {
            totalvalue=totalvalue + value;
        }

        public void ClearValue()
        {
            totalvalue = 0;
        }


    }
}
